Skip to main content

PutStringBefore

Type

statement

Summary

Prepends Source to Target.

Syntax

put <Source> before <Target>

Description

Use to insert a string without replacement. Can be used either with a chunk expression to insert at a specified location, or without to prepend to the target string.

Parameters

NameTypeDescription

Source

An expression which evaluates to a string.

Target

An expression which evaluates to a string container.

Examples

variable tVar as String
put "" into tVar
put "abc" before tVar -- tVar contains "abc"
put "lpha" before char 2 of tVar
put "eti" before char -1 of tVar -- tVar contains "alphabetic"
Thank you for your feedback!

Was this page helpful?